<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="fileUp/file.do" method="post" enctype="multipart/form-data">

        <div>用户名<input type="text" name="userName"></div>
        <div>密码： <input type="password" name="password"></div>
        <div>年龄： <input type="text" name="age"></div>

        <div>头像： <input type="file" name="file"></div>
      <!--  <div><input type="file" name="" id=""></div>-->
        
        <div><input type="submit" value="提交"></div>
    </form>
</body>
</html>